.teacher-course-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    filter: brightness(1.1);
    transition: all .5s;
    background-color: #d8d8d8;


    &:hover {
        header {
            width: 60%;
            height: 80%;

            h2,h3 {
                margin: 15px;
            }

        }

        input {
            opacity: 1;
        }
    }

    input {
        position: absolute;
        top: 20px;
        left: 32px;
        opacity: 0;
        transition: all .5s;
        width: 16px;
        height: 16px;
        cursor: pointer;

        &:checked {
            opacity: 1;
        }
    }

    input:checked+header {
        width: 60%;
        height: 80%;

        h2,h3 {
            margin: 15px;
        }
    }

    header {
        width: 100%;
        height: 100%;
        border-radius: 10px;
        transition: all .5s;
        cursor: pointer;

        h2 {
            margin: 25px;
            transition: all .5s;
        }

        h3 {
            font-size: 16px;
            font-weight: 400;
            margin: 25px;
            cursor: default;
            position: absolute;
            bottom: 10px;
            transition: all .5s;

            button {
                opacity: 0;
                font-size: 18px;
                transition: all .5s;
                margin-left: 20px;
                cursor: pointer;

                &:hover {
                    color: #fff;
                }
            }

            &:hover {
                button {
                    opacity: 1;
                }
            }
        }


        
    }

    .dropdown {
        position: absolute;
        top: 16px;
        right: 32px;
        font-size: 24px;
        cursor: pointer;
    }
}